Final

Author

Allison Jacobson + Keegan Fields

Violent Crimes in Los Angeles, California (2010-2023)

About The Data

The data sets used in this study contain nearly three million reported crimes from 2010-2023. There are 28 attributes. In this study, only crimes considered violent are analyzed. These crimes are: Homicide, Rape, Robbery, and Aggravated Assault. To clean the data, we:

  • Removed duplicate rows

  • Removed unnecessary columns

  • Removed ‘non-violent’ crimes

  • Set NA values to 0

  • Added population variable

Number of Crimes (2020-2023)

Total

Warning: The dot-dot notation (`..count..`) was deprecated in ggplot2 3.4.0.
ℹ Please use `after_stat(count)` instead.

Per Area

Figure 1: Image of Los Angeles 21 Distinct Areas [1]

Homicides (2020-2023)

Picking joint bandwidth of 330

Rapes (2020-2023)

Picking joint bandwidth of 238

Robbery (2020-2023)

Picking joint bandwidth of 142

Aggravated Assaults (2020-2023)

Picking joint bandwidth of 123

Crime From 2010 to 2023

Warning: Using `size` aesthetic for lines was deprecated in ggplot2 3.4.0.
ℹ Please use `linewidth` instead.

Quantitative Analysis


    Pearson's Chi-squared test

data:  contingency_table
X-squared = 1439.1, df = 60, p-value < 2.2e-16

References

[1] LAPD's main map, digital image, Los Angeles Community Policing, accessed December 13, 2023,

< http://www.lacp.org/CP%20Tutorial/LAPD%20-%20main%20map.html>